package com.hyd.hx_adr.modules.patient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyd.hx_adr.domain.entity.JsonResult;
import com.hyd.hx_adr.domain.info.BaseBatchInfo;
import com.hyd.hx_adr.domain.info.BaseInfo;
import com.hyd.hx_adr.modules.patient.domain.QueryPatientInfo;
import com.hyd.hx_adr.modules.patient.domain.entity.Patient;
import com.hyd.hx_adr.modules.patient.domain.vo.PatientVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PatientService extends IService<Patient> {
    JsonResult<String> importPatient(MultipartFile file);

    JsonResult<List<PatientVo>> getPatientList(QueryPatientInfo info);

    JsonResult<Patient> queryPatientById(BaseInfo info);

    JsonResult<String> deletePatient(BaseBatchInfo info);
}
